package com.jason.core.config.jwt;

public class JwtUserFactory {

    private JwtUserFactory() {
    }

    public static JwtUser create(JwtUser jwtUser) {
        return jwtUser;
    }

   /* private static List<GrantedAuthority> mapToGrantedAuthorities(List<SimpleGrantedAuthority> authorities) {
        return authorities.stream()
                .map(SimpleGrantedAuthority::new)
                .collect(Collectors.toList());
    }*/

}
